// Author	: damphat@gmail.com
// Created	: 01/12/2008

#pragma once

typedef int					Int;
typedef long long			Int64;
typedef long				Long;
typedef short				Short;
typedef char				Char;

typedef unsigned int		UInt;
typedef unsigned long long	UInt64;
typedef unsigned long		ULong;
typedef unsigned short		UShort;
typedef unsigned char		UChar;

typedef Char				Buf8;

//typedef char				Char;
typedef char *				LPChar;
typedef const char *		LPCChar;

typedef wchar_t				WChar;
typedef wchar_t *			LPWChar;
typedef const wchar_t *		LPCWChar;

typedef void *				LPVoid;
typedef const void *		LPCVoid;

#ifdef _UNICODE
	typedef WChar			TChar;
	typedef LPWChar			LPTChar;
	typedef LPCWChar		LPCTChar;
#else
	typedef Char			TChar;
	typedef LPChar			LPTChar;
	typedef LPCChar			LPCTChar;
#endif

#ifndef _T
	#ifdef _UNICODE
		#define _T(x) L##x
	#else
		#define _T(x) x
	#endif
#endif


typedef Int64 StmPos;
typedef Int64 StmOff;
typedef Int64 StmLen;

